package com.tieto.wiankowski.plyty.frontend.mbean;

import java.util.List;

import javax.ejb.EJB;

import com.tieto.wiankowski.plyty.ejb.logic.service.InventoryService;
import com.tieto.wiankowski.plyty.ejb.model.Inventory;

public class InventoryMBean {

	@EJB
	InventoryService inventoryService;
	
	public InventoryService getInventoryService() {
		return inventoryService;
	}

	public void setInventoryService(InventoryService inventoryService) {
		this.inventoryService = inventoryService;
	}

	public List<Inventory> getAllInventory(){
		return inventoryService.getAllInventory();
	}
}
